#pragma once
#include <time.h>

class CStopWatch
{
private:
   clock_t start;
   clock_t finish;

public:
   double GetDuration() { return (double)(finish - start) / CLOCKS_PER_SEC; }
   void Start() { start  = clock();    }
   void Stop()  { finish = clock(); }
   
}; 


